package com.bingquan.company.stream;

import java.util.stream.Stream;

public class LamdaMain {
    /**
     * lamda 式编程   s -> {}
     * @param args
     */
    public static void main(String[] args) {
        Stream.of("tom","jack","dances","alis_hha").map(s -> s.length()).forEach(result -> System.out.println(result));
    }

}
